package main
import (
	"net"
	"io"
	"strconv"
)

func main() {
	conn,_:=net.Dial("tcp", "127.0.0.1:3000")
	defer conn.Close()

	for i:=0; i<10; i++ {
		io.WriteString(conn, strconv.Itoa(i))
		io.WriteString(conn, "\n")
	}
}
